package com.hntky.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hntky.entity.Sector;
import com.hntky.service.SectorService;
import com.hntky.mapper.SectorMapper;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author admin
* @description 针对表【t_sector】的数据库操作Service实现
* @createDate 2023-05-13 18:01:04
*/
@Service
public class SectorServiceImpl extends ServiceImpl<SectorMapper, Sector>
    implements SectorService{

    @Resource
    private SectorMapper mapper;

    @Override
    public Sector findDoctors(Integer sid) {

        return mapper.findDoctors(sid);
    }

    @Override
    public Sector findPatients(Integer sid) {

        return mapper.findPatients(sid);
    }

    @Override
    public Sector findNurses(Integer sid) {

        return mapper.findNurses(sid);
    }

    @Override
    public Sector findRooms(Integer sid) {
        return mapper.findRooms(sid);
    }
}




